package czh.cocoa.graphics;

import czh.cocoa.foundation.NSObject;

public class CGGradient extends NSObject {
	
	public final static int kCGGradientDrawsClamp = 0;
	public final static int kCGGradientDrawsMirror = 1;
	public final static int kCGGradientDrawsRepeat = 2;
	
	private CGColor[] mColors;
	
	private float[] mLocations;

	public CGGradient(CGColor[] colors, float[] locations) {
		mColors = colors;
		mLocations = locations;
	}
	
	CGColor[] colors() {
		return mColors;
	}
	
	float[] locations() {
		return mLocations;
	}
	
}
